package com.wms.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "货位信息")
public class LocationDTO {
    @ApiModelProperty(value = "任务id")
    @JsonIgnore
    private Integer taskId;

    @ApiModelProperty(value = "货位id")
    @JsonIgnore
    private Integer id;

    @ApiModelProperty(value = "货位名称")
    private String location;

    @ApiModelProperty(value="任务总数")
    private Integer taskNum;

    @ApiModelProperty(value="未完成任务数")
    private Integer unfinishedNum;

    @ApiModelProperty(value="已完成任务数")
    private Integer finishedNum;
    
    @ApiModelProperty(value = "任务明细列表")
    private List<TaskDetailDTO> taskDetailDTOList;
}
